package com.luke.star.persist.po;

import java.util.Date;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotEmpty;

public class StAssignment {
    private String assiId;

    @NotNull(message="任务ID不能为空")
    private String assiTaskId;

    private Date assiCreateTime;

    private Date assiUpdateTime;
    
	@NotNull(message="任务分解说明不能为空")
	@Size(min = 1, max = 1000,message="任务分解说明字数不能超过1000个字")
    private String assiDesc;

    @NotEmpty(message="任务分解状态不能为空")
    private String assiState;
    
    @NotNull(message="期望星星数不能为空")
    private Integer assiExpectNum;

    @NotEmpty(message="任务分解执行模式不能为空")
    private String assiTaskModel;

    @NotEmpty(message="任务分解周期不能为空")
    private String assiCircleModel;

    private Integer assiRunTime;

    public String getAssiId() {
        return assiId;
    }

    public void setAssiId(String assiId) {
        this.assiId = assiId;
    }

    public String getAssiTaskId() {
        return assiTaskId;
    }

    public void setAssiTaskId(String assiTaskId) {
        this.assiTaskId = assiTaskId;
    }

    public Date getAssiCreateTime() {
        return assiCreateTime;
    }

    public void setAssiCreateTime(Date assiCreateTime) {
        this.assiCreateTime = assiCreateTime;
    }

    public Date getAssiUpdateTime() {
        return assiUpdateTime;
    }

    public void setAssiUpdateTime(Date assiUpdateTime) {
        this.assiUpdateTime = assiUpdateTime;
    }

    public String getAssiDesc() {
        return assiDesc;
    }

    public void setAssiDesc(String assiDesc) {
        this.assiDesc = assiDesc;
    }

    public String getAssiState() {
        return assiState;
    }

    public void setAssiState(String assiState) {
        this.assiState = assiState;
    }

    public Integer getAssiExpectNum() {
        return assiExpectNum;
    }

    public void setAssiExpectNum(Integer assiExpectNum) {
        this.assiExpectNum = assiExpectNum;
    }

    public String getAssiTaskModel() {
        return assiTaskModel;
    }

    public void setAssiTaskModel(String assiTaskModel) {
        this.assiTaskModel = assiTaskModel;
    }

    public String getAssiCircleModel() {
        return assiCircleModel;
    }

    public void setAssiCircleModel(String assiCircleModel) {
        this.assiCircleModel = assiCircleModel;
    }

    public Integer getAssiRunTime() {
        return assiRunTime;
    }

    public void setAssiRunTime(Integer assiRunTime) {
        this.assiRunTime = assiRunTime;
    }
}